package com.storeroompda.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Transient;

@Entity(
        indexes = {
                @Index(value = "idd,date,type", unique = true)
        }
)
public class BillCodeInfo {
    @Id(autoincrement = true)
    private Long id;
    private String date;
    private String idd;
    private String name;
    private int num;
    private int type;
    @Transient
    private boolean flag =false;

    @Generated(hash = 10526881)
    public BillCodeInfo(Long id, String date, String idd, String name, int num,
            int type) {
        this.id = id;
        this.date = date;
        this.idd = idd;
        this.name = name;
        this.num = num;
        this.type = type;
    }
    @Generated(hash = 445568478)
    public BillCodeInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public String getIdd() {
        return this.idd;
    }
    public void setIdd(String idd) {
        this.idd = idd;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getNum() {
        return this.num;
    }
    public void setNum(int num) {
        this.num = num;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public boolean getFlag() {
        return this.flag;
    }
    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}


